#include "StdAfx.h"
#include "WCInit.h"
#include <WinSock2.h>

WCInit::WCInit(void)
{
	WSADATA zwsaD;
	int iRet = WSAStartup(MAKEWORD(2, 0), &zwsaD); // version 2.0
	if(iRet)
	{
		printf("WSAStartup error:%d\n", iRet);
	}
}

WCInit::~WCInit(void)
{
	WSACleanup();
}
